package poliakov.spring.advertisement.persistence;

import java.util.List;

import poliakov.spring.advertisement.pojo.*;

public interface AdvertisementDao {
	  public IAdvertisement getAadvertisementByID(int id);
	  public void addAdvertisement(IAdvertisement advertisement);
	  public List<IAdvertisement> getAllAadvertisements();
	  
	  
	  public ICity getCityByID(int id);
	  public void addCity(ICity city);
	  public List<ICity> getAllCityies();
	  
	  public ICategory getCategoryByID(int id);
	  public void addCategory(ICategory category);
	  public List<ICategory> getAllCategories();
	  
	  public int generateID();
}
